package org.aceor.mddal.common.constants;

/**
 * Created by lxue on 16/4/6.
 */
public interface MonitorConfigConstants {
    public static final long THRESHOLD_EXECUTE_SQL = 1 * 60 * 1000;// one minute
    public static final long THRESHOLD_PARSE_SQL = 10 * 1000;// ten seconds
    public static final long THRESHOLD_GET_CONNECTION = 5 * 1000;// five seconds
    public static final long THRESHOLD_CONNECTION_CONTEXT = 10 * 1000;// ten seconds

    public static final boolean IS_MONITOR_EXECUTE_SQL = true;
    public static final boolean IS_MONITOR_PARSE_SQL = true;
    public static final boolean IS_MONITOR_GET_CONNECTION = true;
    public static final boolean IS_MONITOR_CONNECTION_CONTEXT = true;
}
